/**
 * All rights reserved by DigitNexus Technology INC.
 */
package com.xspace.android.xafcommon.download;

public interface IDownloadListener {

    void onDownBefore(DownloadInfo downloads);
    void onDowning(long downed,long total,float progress,float speed,DownloadInfo downloads,int current);

    void onDownError(long downed,float progress,DownloadInfo downloads,int current);

	void onDownAllFinished(DownloadInfo downloads,boolean checkFlag);

    void onCancelDown(DownloadInfo downloads,int current);

    void onPauseDown(DownloadInfo downloads,int current);

    void onResumeDown(DownloadInfo downloads,int current);
}
